/**
 * FileName: HandoverImpl
 * Author:   秋水浮萍
 * Date:     2020/7/1 13:43
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.demo.service.impl;

import com.demo.mapper.Handovers;
import com.demo.model.HandoverName;
import com.demo.service.HandoverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author 秋水浮萍
 * @create 2020/7/1
 * @since 1.0.0
 */

@Service
public class HandoverServiceImpl implements HandoverService {
    @Autowired
    private Handovers mapper;

    @Override
    public List<HandoverName> allName() {
        return mapper.allName();
    }

    @Override
    public int updateHandover(String[] partnerId, String userId,String updateTime) {
        return mapper.updateHandover(partnerId, userId,updateTime);
    }

    @Override
    public int updateUserId(String updateUserId, String updateTime, String createUserId) {
        return mapper.updateUserId(updateUserId, updateTime, createUserId);
    }
}